package com.horizon.manage.endpoint.service;

import com.horizon.common.constrants.HorizonResultCodeEnum;
import com.horizon.manage.endpoint.entity.Endpoint;
import org.springblade.core.mp.base.BaseService;

import java.util.Optional;

/**
 * 终端节点服务.
 *
 * @author zhaoshb
 * @since 2022/12/21 21:18
 */
public interface IEndpointService extends BaseService<Endpoint> {

    HorizonResultCodeEnum endpointAuth(Long id, String userName, String password);

    Endpoint queryEndpointById(Long endpointId);

    boolean deleteById(Long id);
}
